package org.marketlive.biz.session.context;

/*
 (C) Copyright MarketLive. 2006. All rights reserved.
 MarketLive is a trademark of MarketLive, Inc.
 Warning: This computer program is protected by copyright law and international treaties.
 Unauthorized reproduction or distribution of this program, or any portion of it, may result
 in severe civil and criminal penalties, and will be prosecuted to the maximum extent
 possible under the law.
 */

/**
 * Called when an session is created. The commerceSession object has been created and the customer and basket primary
 * key references have been set in the commerceSession object.
 *
 */
public interface ICreateSessionExtension {

    /**
     * This method is called when a session is created.
     *
     * @param session the commerce session object.
     * @param customerId the customer's primary key as a string.
     * @param basketId the basket's primary key as a string.
     */
    void createSession(ICommerceSession session, String customerId, String basketId);
}
